<template>
	<view>
		<u-navbar title="评价" :border-bottom='false' back-icon-size='48'></u-navbar>
		<view class="main">
			<view class="evaluate-ul" v-if="list.length">
				<view class="evaluate-li">
					<view class="userBox">
						<view class="user">
							<image src="../../../../static/imgs/del/del.png" mode=""></image>
							<text>小胖墩</text>
						</view>
						<view class="date">
							12/17 15 :19
						</view>
					</view>
					<view class="cont">
						水磨沟景区位于广元市朝天区，地处秦岭山脉与大巴山脉之间，国家AAAA级旅游景区，森林覆盖率82%，是名副其实的天然氧吧。
					</view>
					<view class="imgbox">
						<image class="img" src="../../../../static/imgs/del/del1.png" mode=""></image>
						<image class="img" src="../../../../static/imgs/del/del1.png" mode=""></image>
						<image class="img" src="../../../../static/imgs/del/del1.png" mode=""></image>
					</view>
					<view class="tools">
						<view class="isLike">
							<u-icon name="heart-fill" color="#EC3A54" size="32"></u-icon> <text
								style="margin-left: 8rpx;">1</text>
						</view>
					</view>
				</view>
			</view>

			<view class="noCont" v-else>
				<image src="../../../../static/imgs/mynr.png" mode=""></image>
				<text>暂无评价</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [1]
			}
		}
	}
</script>

<style lang="scss" scoped>
	.main {
		padding: 20rpx;

		.evaluate-ul {
			.evaluate-li {
				width: 710rpx;
				height: auto;
				background: #FFFFFF;
				border-radius: 16rpx;

				.userBox {
					width: 100%;
					height: 100rpx;
					display: flex;
					align-items: center;
					justify-content: space-between;
					padding: 0 28rpx;

					.user {
						display: flex;
						align-items: center;

						image {
							width: 72rpx;
							height: 72rpx;
							border-radius: 50%;
						}

						text {
							margin-left: 10rpx;
							font-size: 28rpx;
							font-family: Segoe UI;
							font-weight: 400;
							color: #333333;
						}
					}

					.date {
						font-size: 24rpx;
						font-family: Segoe UI;
						font-weight: 400;
						color: #999999;
					}
				}

				.cont {
					padding: 0 28rpx;
					font-size: 28rpx;
					font-family: Segoe UI;
					font-weight: 400;
					color: #333333;
				}

				.imgbox {
					padding-left: 20rpx;
					margin-top: 20rpx;

					.img {
						&:only-child {
							width: 224rpx;
							height: 260rpx;
						}

						&:first-child {
							margin-left: 0rpx;
						}

						width: 216rpx;
						height: 216rpx;
						border-radius: 8rpx;
						margin-left: 10rpx;
					}
				}

				.tools {
					padding: 0 20rpx;
					width: 710rpx;
					height: 80rpx;
					display: flex;
					align-items: center;
					justify-content: flex-end;

					.tools-item {
						width: 116rpx;
						height: 52rpx;
						border: 2rpx solid rgba(153, 153, 153, 0.4);
						border-radius: 40rpx;
						font-size: 28rpx;
						font-family: Segoe UI;
						font-weight: 400;
						color: #666666;
						line-height: 52rpx;
						text-align: center;
						margin-left: 20rpx;
					}

					.zhan {
						border: 1px solid #FF4600;
						color: #FF4600;
					}
				}
			}
		}

		.noCont {
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;

			image {
				width: 420rpx;
				height: 420rpx;
			}

			text {
				margin-top: 32rpx;
				font-size: 32rpx;
				font-family: PingFang SC;
				font-weight: 400;
				color: #333333;
			}
		}
	}
</style>
